@import '~antd/lib/style/themes/default.less';

.fullHeightCol {
  position: relative;
  min-width: 240px;
  min-height: ~'calc(100vh - 218px)';
}

// 页面背景
.leftTree {
  background-color: #fafaf9;
  &:extend(.fullHeightCol);
}

// card 标题区0边距
.noPadding {
  :global {

    .ant-card-head-title,
    .ant-card-extra {
      padding: 5px;
    }

    .ant-card-head {
      padding: 5px;
    }

    .ant-card-body {
      padding: 5px;
    }
  }
}

.goodsInfoList {
  .goodsInfoListOperator {
    margin-bottom: 16px;

    button {
      margin-right: 8px;
    }
  }
}

.goodsInfoListForm {
  :global {
    .ant-form-item {
      display: flex;
      margin-right: 0;

      >.ant-form-item-label {
        width: auto;
        min-width: 83px;
        padding-right: 8px;
        text-align: right;
      }
    }

    .ant-form-item-control-wrapper {
      flex: 1;
    }
  }

  .submitButtons {
    margin-bottom: 24px;
    white-space: nowrap;
  }
}

.margin24 {
  margin: 12px 8px;
  padding: 0 5px;
}

@media screen and (max-width: @screen-lg) {
  .goodsInfoListForm :global(.ant-form-item) {
    margin: 24px;
  }
}

@media screen and (max-width: @screen-md) {
  .goodsInfoListForm :global(.ant-form-item) {
    margin: 12px;
  }
}


.standardTable {
  :global {
    .ant-table-pagination {
      margin-top: 24px;
    }
  }

  .tableAlert {
    margin-bottom: 16px;
  }

  .tableTopbtns {
    button~button {
      margin-left: 8px;
    }
  }
}

// 禁用颜色
.disabled {
  background-color: #fff5ee;
}

.enabled {}
